package medical.demo.service.impl;

import com.demo.pojo.THisRegistration;
import medical.demo.service.THisRegistrationService;
import org.springframework.stereotype.Service;
import medical.demo.mapper.THisRegistrationMapper;

import javax.annotation.Resource;
import java.util.List;

@Service
public class THisRegistrationServiceImpl implements THisRegistrationService {

    @Resource
    private THisRegistrationMapper tHisRegistrationMapper;

    @Override
    public List<THisRegistration> GetAllTHisRegistration() {
        List<THisRegistration> list = tHisRegistrationMapper.selectList(null);
        return list;
    }
}
